// Copyright@ChenChao

#pragma once

#include "CoreMinimal.h"
#include "UI/Widget/CUserWidget.h"
#include "GameplayWidget.generated.h"

class UAbilitySystemComponent;
class UValueGauge;

/**
 * 
 */
UCLASS()
class CRUNCH_API UGameplayWidget : public UCUserWidget
{
	GENERATED_BODY()

public:
	virtual void NativePreConstruct() override;

private:
	UPROPERTY(meta = (BindWidget))
	TObjectPtr<UValueGauge> HealthBar;
	
	UPROPERTY(meta = (BindWidget))
	TObjectPtr<UValueGauge> ManaBar;

	UPROPERTY()
	TObjectPtr<UAbilitySystemComponent> OwnerAbilitySystemComponent;

};
